/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.web.generation.objectinfo;

import com.farmcode.api.runtime.metadata.ObjectInfo;
import com.farmcode.api.runtime.metadata.ProcedureSpc;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.RequestScoped;
import javax.inject.Named;

/**
 *
 * @author Oscar Ivan Prado
 */
@Named(value = "procedureBackingBean")
@RequestScoped
public class ProcedureBackingBean extends BaseObjectInfo{

    public static final String OBJECTS_INFO = ProcedureBackingBean.class.getName() + ".objectInfo";
    
    public static final String SELECTED_ALL = ProcedureBackingBean.class.getName() + ".selectedAll";
    
    /** Creates a new instance of ProcedureBackingBean */
    public ProcedureBackingBean() {
    }

    @Override
    public Object getObjectType() {
        return new ProcedureSpc();
    }

    @Override
    public String getObjectInfoSessionName() {
        return OBJECTS_INFO;
    }
    
     @Override
    public String getSelectedAllSessionName() {
        return SELECTED_ALL;
    }

    @Override
    public List<ObjectInfo> getObjectInfos() {
        return new ArrayList<ObjectInfo>();
    }

     
     
    @Override
    public boolean prepare() {
        return false;
    }

   
    
}
